<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<style>
    .otn {
        position: relative;
        top: 50px;
        left: 450px;
        bottom: 50px;
        width: 450px;
        height: 400px;
        background-color: rgb(34, 76, 180);
        box-shadow: 0px 0px 5px rgb(252, 180, 72);
        transition: all 3s;
    }
    
    div.otn:hover {
        box-shadow: 0px 0px 5px rgb(245, 215, 81);
        transform: scale(1.5);
    }
    
    h2 {
        position: absolute;
        top: 100px;
        left: 65px;
        color: white;
    }
    
    h2:hover {
        color: rgba(241, 149, 28, 0.822);
    }
    
    p {
        position: absolute;
        top: 150px;
        left: 65px;
        color: white;
    }
    
    p:hover {
        color: rgba(241, 149, 28, 0.822);
    }
    
    body {
        background-color: rgb(199, 205, 221);
    }
    
    .wrap {
        width: 200px;
        height: 300px;
        margin: 200px auto;
        position: relative;
        transform-style: preserve-3d;
        transform: rotateX(-12deg);
        animation: turn 13s infinite;
        animation-timing-function: linear;
        /*使其变为匀速*/
    }
    
    .p {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .p:nth-child(1) {
        transform: rotateY(0deg) translateZ(275px);
    }
    
    .p:nth-child(2) {
        transform: rotateY(40deg) translateZ(275px);
    }
    
    .p:nth-child(3) {
        transform: rotateY(80deg) translateZ(275px);
    }
    
    .p:nth-child(4) {
        transform: rotateY(120deg) translateZ(275px);
    }
    
    .p:nth-child(5) {
        transform: rotateY(160deg) translateZ(275px);
    }
    
    .p:nth-child(6) {
        transform: rotateY(200deg) translateZ(275px);
    }
    
    .p:nth-child(7) {
        transform: rotateY(240deg) translateZ(275px);
    }
    
    .p:nth-child(8) {
        transform: rotateY(280deg) translateZ(275px);
    }
    
    .p:nth-child(9) {
        transform: rotateY(320deg) translateZ(275px);
    }
    
    @keyframes turn {
        from {
            transform: rotateX(-12deg) rotateY(0deg);
        }
        to {
            transform: rotateX(-12deg) rotateY(360deg);
        }
    }
</style>



<body>
    <div class="wrap">
        <div class="p">
            <img src="1.jpeg" width="200" height="300">
        </div>
        <div class="p">
            <img src="2.jpeg" width="200" height="300">
        </div>
        <div class="p">
            <img src="3.jpeg" width="200" height="300">
        </div>
        <div class="p">
            <img src="4.jpeg" width="200" height="300">
        </div>
        <div class="p">
            <img src="5.jpeg" width="200" height="300">
        </div>
        <div class="p">
            <img src="6.jpeg" width="200" height="300">
        </div>
        <div class="p">
            <img src="7.jpeg" width="200" height="300">
        </div>
        <div class="p">
            <img src="8.jpg" width="200" height="300">
        </div>
        <div class="p">
            <img src="9.jpeg" width="200" height="300">
        </div>


    </div>

    <div class="otn">
        <h2>My experience</h2>
        <p>I come from Sichuan, but now I live in Chongqing, and I was studying in Dazhou when I was in high school. I also met a lot of friends and brought me many good memories, which are still unforgettable.</p>
    </div>




</body>

</html>